public class OORDuplicateLeadChecklistctrl{
     Public List<Lead> Leadlist {get; set;}
     Public boolean showconv {get; set;}  
          public OORDuplicateLeadChecklistctrl(ApexPages.StandardController controller) {        
              Lead currentlead= (Lead)controller.getRecord();
              ID localAdvertiserRecordTypeID = RecordTypeHelper.GetRecordTypeID('Lead', 'Local Advertiser');
              
              if(currentlead.Unique_lead_list__c!=null && currentlead.RecordTypeId==localAdvertiserRecordTypeID ){
              Leadlist = [select id,name,phone,Master__c,Lead_Status_ReadOnly__c,owner.name,Title,State,City,company,ISCONVERTED from Lead where Unique_lead_list__c =:currentlead.Unique_lead_list__c  AND id !=:currentlead.id AND RecordTypeId=:localAdvertiserRecordTypeID  order by name ASC];
              
              for(Lead lead1:Leadlist){
                  if(lead1.ISCONVERTED){
                       showconv=true;
                       break;
                   }
                  }
              }
            }
}